package com.bdsy.system.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bdsy.system.model.UserRole;

public interface UserRoleMapper {
    
    List<Map> selectUserRole();
    
    int insertUserRole(UserRole userRole);
    
    int updateUserRole(UserRole userRole);
    
    int deleteUserRole(@Param(value = "pIds")List<String> pIds);
    
    void updateUserRoleByUserId(UserRole userRole);
    
    int deleteUserRoleByUserId(@Param(value = "pIds")List<String> pIds);
}